-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
263 vocabs without apache #279
Conversation
Necessary for e2e tests. Since we test with incomplete ttl files, validation will fail. During e2e tests it is deactivated to make them go through.
See #280 for a problem introduced on with this PR on the test system. |
I did some functional review, Overall this looks very mature, but I noticed one thing:
Otherwise this looks good. Wrt the direct language links, I thin we should have them. At least fpr bug fixing in SkoHub or by a vocab's editors it will be useful to directly link to a page in a specific language. For me it would be ok to implement this by a query parameter, e.g. |
Parsing for an URL parameter https://test.skohub.io/sroertgen/test-vocabs/heads/main/?lang=nl If language from URL parameter does not exist, a default language is chosen: https://test.skohub.io/sroertgen/test-vocabs/heads/main/w3id.org/kim/hcrt/scheme.html?lang=bla Also the use of the browsers "Go Back" function should now remove the concept scheme info in the header. Assigning @acka47 for testing. |
My bad, it works with question mark instead of ampersand . https://test.skohub.io/acka47/testing-skohub-vocabs/heads/master/w3id.org/kim/hcrt/assessment.html?lang=de |
So, this looks good. +1
This is ok. We will mainly use direct links to a language for debugging and now about how to create them. Others won't need this. |
Assigning @Phu2 for setting up redirects: If someone comes with |
Added
to Apache vhost config |
With skohub-io/skohub-webhook#20 we tested to rebuild vocabularies on the test environment and it seems to work. The redirect is also configured, so https://test.skohub.io/sroertgen/test-vocabs/heads/main/w3id.org/kim/hcrt/application.de.html will redirect to https://test.skohub.io/sroertgen/test-vocabs/heads/main/w3id.org/kim/hcrt/application.html?lang=de Next steps will be:
|
+1 |
Sounds good to me. Last step:
|
Fallback if it would not work for any reason:
|
SkoHub Vocabs is now no longer dependent on an Apache Webserver to be delivered through.
The language is now chosen through the browser language.
All End-2-End tests and unit/integration tests are going through.
I deployed to dev and you can use the test webhook to test: https://test.skohub.io/sroertgen/test-vocabs/heads/main/
Benefits of this:
Open question:
Before merge:
de.html
pages tohtml
(maybe with adding the language param, depending on open question)index.html
orindex.de.html
(like before)Fixes #263
Fixes #270
Fixes #283